'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.get('/top250', controller.top250.index);
  router.get('/inTheaters', controller.inTheaters.index);
  router.get('/city', controller.city.index);
  router.get('/banner', controller.banner.index);
  router.get('/article', controller.article.index);
  router.get('/comingSoon', controller.comingSoon.index);
  router.get('/user', controller.user.index);
};
